package com.atldy.commerce.service;

import com.atldy.commerce.account.AddressInfo;
import com.atldy.commerce.account.AddressItemVo;
import com.atldy.commerce.commence.Id;
import com.atldy.commerce.commence.TableId;
import com.atldy.commerce.pojo.EcommerceAddress;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface EcommerceAddressService extends IService<EcommerceAddress> {


    Id createAddressInfo(AddressItemVo addressItemVo);

    AddressInfo getCurrentUserAddressInfo();

    AddressItemVo getAddressInfoById(Id id);

    AddressInfo getAddressInfoByIds(TableId tableId);
}
